<?php
/*------------------------------------------------------------------------
 * API接口配置
 * 	
 * Created on 2014-10-24
 *
 * Author: hwc123 <hwc123@139.com>
 * 
 * Copyright (c) 2014 http://www.suncco.com All rights reserved.
 * ------------------------------------------------------------------------
 */
namespace Admin\Controller;

class ApiSetController extends CommonController{
	public  $exec_comfunc  = 'index,add,edit,delete';//index,add,edit,delete
	
	public function logs(){
		$this->_use_tpl = 'logs';
		parent::index('ApiLogs','','id desc');
	}
	public function win_logs(){
		$id = $this->_get('id');
		$info = D('ApiLogs')->find($id);
		$this->assign('info',$info);
		$this->display();
	}
}
?>